#include "stdafx.h"
#include "barnaby.h"
#include "Timezone.h"

BARNABY_API std::vector<const std::string> Barnaby::TimeZoneFunctions::getTimezoneList(){
	return Timezone::getTimezoneNames();
}

BARNABY_API long long Barnaby::TimeZoneFunctions::convertFromUtc(std::string tzname, time_t time){
	Timezone tz = Timezone::getTimezone(tzname);
	return tz.fromUtc(time);
}

